package com.aaa.mapper.mht;

import com.aaa.entity.mht.MhtRecord;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

@Repository
public interface MhtRecordMapper extends Mapper<MhtRecord> {
    /**
     * 查询所有的测试记录并分页
     * @param mhtRecord
     * @return
     */
    List<MhtRecord> findAllRecord(MhtRecord mhtRecord);

    /**
     * 查询测试人的答题信息
     * @param id
     * @return
     */
    List<Map<String, Object>> getdetail(Integer id);
}
